package cn.sql_session.utils;

import org.apache.ibatis.session.Configuration;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;

/**
 * &#064;Time 2024 五月 星期二 10:14
 *
 * @author ShangGuan
 */
public class SqlSessionFactoryUtils {
    public static SqlSessionFactory getSqlSessionFactory(Configuration configuration) {
        return new SqlSessionFactoryBuilder().build(configuration);
    }
}
